package main

import (
	"fmt"
	"runtime"
)

func main() {
	//初始化变量
	numCPU := runtime.NumCPU()
	runtime.GOMAXPROCS(numCPU)
	fmt.Println("num=", numCPU)

	var intChen chan int
	intChen = make(chan int, 3)
	fmt.Println("numCPU", intChen, &intChen)
}
